package com.sky.mapper;

import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShoppingCarMapper {

   // void insert(ShoppingCart shoppingCart);

    //void update(ShoppingCart shoppingCart);

    List<ShoppingCart> list(ShoppingCart shoppingCart);

    void updateNumberbyid(ShoppingCart cart);

    //插入购物车
    void insert(ShoppingCart shoppingCart);

    void delete(ShoppingCart cart);

    void listInsert(List<ShoppingCart> list);
}
